package com.letoy.study.dao;

import com.letoy.study.entity.UserDetails;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author JiaTianLuo
 * @version 1.0
 * @date 2021/1/26 22:30
 */
@Mapper
@Repository
public interface UserDetailsMapper {
    //查询个人信息
    List<UserDetails> findAll();
    //修改个人信息
    Integer changeUserDetails(UserDetails userDetails);
    //接收前端注册时间信息
    Integer initializationUserDetails(UserDetails userDetails);
}
